isnan — Test for Not-A-Number
isnan
tests if the argument is equal to NaN. If the test
is true, it returns 1, otherwise it returns 0. If the argument
is a matrix, the test is performed element-by-element, returning a
matrix the same size as the original.
This is not an built-in function. This function
is normally loaded on start-up from the isnan.r
file in the
standard rlib
directory. Use of the -r
option, incorrectly
setting the RLAB_LIB_DIR
environmental variable, or modifying
isnan.r
may make this function unavailable.
Subsections